Method and system for information query

ABSTRACT

A method and system for information query include: receiving and saving shared information released by users ( 101 ); receiving a query request sent by a user and searching for a trusted user corresponding to the user ( 102 ); searching for shared information meeting a query condition in the query request among shared information released by the trusted user, and returning a query result to the user requesting for query ( 103 ). The method and system may provide a more credible query result to the querying user.

FIELD OF THE INVENTION

The present invention relates to information processing technique, and particularly to a method and system for information query.

BACKGROUND OF THE INVENTION

With growing popularity of network technology and constant development of network service, the network has become an indispensable part of people's lives. With services provided by network service providers, a user may share various types of information cross-regionally via the network. For example, through a platform provided by the network service providers, the user may share his/her information on this platform or query information shared by other users. The user may release information like “dumplings here are really tasty” or “accommodation here is really nice” on this platform.

As more and more users are being involved in network life, as well as more and more users would like to release their shared information for other users to query and refer, the quantity of shared information manifests an explosive growth, and an information query system may provide more and richer information to users. Although the information query system may provide more shared information to the users, with the ever increasing amount of the shared information and ever increasing amount of the users, there is a lot of false information among the large amount of shared information. When receiving a query request from a user, a current information query system simply searches among all of the released shared information, without judging whether the shared information is true or false, so that there inevitably exists false information in the information returned to the user, so the false information is provided to the user.

Therefore, it is a technical problem to be solved urgently in the prior art that how the information query system processes information and provides a relatively credible query result to a querying user.

SUMMARY OF THE INVENTION

The present invention provides a method and system for information query to process shared information released by users, and to provide a relatively credible query result to querying users.

Technical scheme of the present invention is realized as follows.

A method for information query includes:

receiving and saving pieces of shared information released by users;

receiving a query request sent by a user, and searching for at least one trusted user corresponding to the user; wherein the user sending the query request is the one having released a piece of shared information or the one having not released any shared information; and

searching for at least one piece of shared information meeting a query condition in the query request among at least one piece of shared information released by the at least one trusted user, and returning a first query result comprising the at least one piece of shared information searched out to the user sending the query request.

A system for information query includes a processing server and a querying server; wherein

the processing server, to receive and save shared information released by users;

the querying server, to receive a query request sent by a user; search for at least one trusted user corresponding to the user, wherein the user sending the query request is the one having released a piece of shared information or the one having not released any shared information; search for at least one piece of shared information meeting a query condition in the query request among at least one piece of shared information released by the at least one trusted user, and return a first query result comprising the at least one piece of shared information searched out to the user sending the query request.

In the method and system for information query provided by the present invention, shared information released by a user is received and saved; when a query request sent by the user is received, trusted users corresponding to this user are searched out firstly; and then the shared information meeting the query condition is searched for among the shared information released by the trusted users according to the query condition in the query request, and a query result is returned to the user requesting for query. A queried object is processed during a querying process in the technical scheme of the present invention, so that a relatively credible query result may be provided to the querying user through this technical scheme.

BRIEF DESCRIPTION OF DRAWINGS

FIG. 1 is a schematic flowchart illustrating a method of an example of the present invention;

FIG. 2 is a diagram illustrating a basic structure of a system of an example of the present invention;

FIG. 3 is a diagram illustrating a schematic structure of a system of an example of the present invention;

FIG. 4 is a flowchart illustrating a method of an example of the present invention.

DETAILED DESCRIPTION OF THE INVENTION

In this part of detailed description, preferable examples of the present invention are shown and described through optimal examples expected by inventors implementing the present invention. It should be realized that, various obvious aspects may be modified without departing from the present invention. Accordingly, the drawings and description should be regarded as schematic in essence, rather than restrictive.

In order to provide a relatively credible query result to a querying user, a query operation may merely be performed to the shared information released by trusted users. With reference to FIG. 1 specifically, FIG. 1 is a schematic flowchart of the method of the present invention.

In step 101, the shared information released by a user is received and saved; as various communication ways, the user indicated in the example of the present invention may be either a user accessing the network through a computer terminal, or a user accessing the network through a mobile terminal.

In step 102, a query request sent by the user is received, and trusted users corresponding to this user are searched out.

The trusted users in the example of the present invention may be a kind of users whom a querying user can trust. The trusted user may be defined in many ways. For example, users determined based on a Social Networking Services (SNS) good friends chain, or users belonging to the same group, etc. Since the users belong to the same group, information released by each other is relatively credible.

In step 103, the shared information meeting a query condition in the query request is searched for among the shared information released by the trusted users, and a query result is returned to the user requesting for query.

Considering that the trusted users are part of users of a sharing platform after all, it may happen that the shared information meeting the query condition is not searched out, or the shared information searched out is too little, thus when the number of shared information meeting the query condition is less than a predetermined number, the shared information meeting the query condition may be searched for among shared information released by non-trusted users according to the query condition in the query request, and then a query result together with the query result for the trusted users are returned to the user requesting for query for reference. Under this circumstance, when the query results are returned to the user, the shared information searched out may be marked to identify whether the shared information is from the trusted users or from the non-trusted users, which is referred by the users. Here, the predetermined number may be set according to the practical system, such as being set as 3 pieces.

In order to make the user search out the requested information more accurately, there is a further processing in the technical scheme of the present invention. Namely, when the shared information released by a user is saved in the above step 101, position information corresponding to this shared information is further obtained and saved (this position information is information of the position in which the user released the shared information); then, the shared information in the query result returned in step 103 also further carries the position information corresponding to the shared information. According to the position information, the querying user may further recognize a position of the released shared information, which is helpful for the user to recognize the shared information more comprehensively. For example, when the querying user searches out a piece of shared information about “food”, namely “dumplings here are really tasty”. When this shared information is displayed, if the position information is carried together, the querying user may exactly know the position in which the tasty dumplings are located.

As an extension of the example of the present invention, the position information corresponding to the shared information may be obtained by the system dynamically rather than be obtained and saved when the shared information released by the user is saved, and be automatically attached to the shared information, so that the efficiency of releasing shared information by a user is increased.

In the technical scheme of the present invention, when a terminal in which a user is located receives a query result returned to the user, the terminal calls a map in the terminal, and displays corresponding shared information on the map according to position information corresponding to the shared information in the query result. Furthermore, when the user selects a piece of shared information, position information indicating where the user is located presently is obtained, and a route on the map along which the user is to reach the position corresponding to the selected shared information according to the position information corresponding to the selected shared information is provided.

When a user accesses the network via a mobile terminal, the position information of this mobile terminal may be obtained through a built-in GPS function in the mobile terminal; when the user accesses the network via a computer terminal, the position information of the user may be determined through an IP address of this computer terminal. Different accessing ways lead to different precisions of the position information. Some position information may be very precise, such as longitude/latitude information obtained through a GPS; while some position information may be a scope only. When the obtained position information is just a scope, this position information may be further determined as a position within this scope according to a preset rule.

The query condition may be at least one of a type of the shared information, the position information and an identifier of a trusted user. Specific query ways may use existing related methods, which do not be repeated here.

Preferably, when the position information is included in the query condition, the shared information meeting the query condition including the position information is the shared information within a predetermined scope centered at this position information. For example, when the predetermined scope is 100 meters, the shared information meeting the query condition including the position information is the shared information within the scope of 100 meters centered at this queried position information.

After the user receives the returned query result, when it is determined that the shared information in the query result is accurate, it may indicate an information query system that the corresponding shared information is accurate; when the query result is returned to the user requesting for query, the accurate shared information in the query result is further marked. Meanwhile, the shared information with an accuracy identifier may be displayed to the user with priority. Thus, the user requesting for query may judge whether the shared information is accurate according to whether the shared information has an accuracy identifier, which is helpful for the user to obtain information more accurately, and so that a relatively credible query result is provided to the user.

The shared information carrying the position information may also be used for displaying other than for being queried, namely the position information corresponding to the shared information is displayed when the shared information is displayed on the sharing platform. At this time, the shared information may be aggregated according to the type of the shared information, and be sorted, saved and displayed according to the corresponding position information. There are various types of the shared information, which may be grouped according to purposes of the shared information. Here, the shared information may be grouped into four types, which are clothing, food, housing and transportation. When being saved and displayed, the shared information may be respectively saved and displayed according to these four types; and when being saved and displayed, the shared information may be sorted according to the position information corresponding to each piece of shared information, so that it is convenient to query and view. In addition, when the shared in formation is displayed, it is preferable to display simultaneously whether this shared information carries an accuracy identifier.

Accordingly, the present invention may set up a concerned relationship management server. This server stores information which the users are concerned about, such as a piece of position information, or a type, or a user, or any combination of these three groups. When a user releases the shared information, the shared information may be matched with contents in the concerned relationship management server, if it is matched, then the shared information released currently is pushed to the user for viewing in time.

All or part of the procedures of the above method examples may be implemented through hardware following instructions of a computer program; the aforementioned computer program may be stored in a computer-readable storage medium; when running, the computer program may perform the procedures of the above method examples; and the aforementioned storage medium includes mediums which may store program code, such as ROM (Read-Only Memory), RAM (Random Access Memory), diskette and CD.

In addition, an example of the present invention also provides a system for information query, which is shown in FIG. 2.

The system includes a processing server and a querying server; the processing server is adapted to receive and save shared information released by a user; the querying server is adapted to receive a query request sent by a user, search for trusted users corresponding to the user; search for shared information meeting a query condition among the shared information released by the trusted users according to the query condition in the query request as well as the shared information saved in the processing server, and return a query result to a user requesting for query.

Here, trust relationships among users may be stored in the querying server itself, or be stored in a trust relationship server of an external third party. When the trust relationships are stored in the trust relationship server, the querying server may access the trust relationship server to search for trusted users corresponding to the current user.

Specifically, the querying server is adapted to judge whether the number of the shared information searched out meeting the query condition is less than a predetermined number; if it is judged that the number of the shared information searched out is not less than the predetermined number, then the querying server is adapted to return the query result to the user requesting for query; if it is judged that the number of the shared information searched out is less than the predetermined number, then the querying server is adapted to return the query result together with the query result for the trusted users to the user requesting for query.

In addition, when a user releases the shared information, the terminal device in which the user is located obtains current position information of this user, and sends the position information together with the shared information to the processing server; the processing server is adapted to further save this position information corresponding to the shared information when saving the shared information released by the user; accordingly, the querying server is further adapted to carry the position information corresponding to the shared information in the query result when returning the query result.

After receiving the query result returned to the user, the terminal device in which the user is located calls a map in the terminal device, and displays corresponding shared information on the map according to the position information corresponding to shared information in the query result. So, when the user selects a piece of shared information, the terminal device obtains position information indicating where the user is located presently, and provides a route on the map along which the user is to reach the position corresponding to the selected shared information according to the position information corresponding to the selected shared information.

The query condition used by the querying server for searching for the shared information may be at least one of a type of the shared information, the position information and an identifier of a trusted user. When the position information is included in the query condition, the shared information meeting the query condition including the position information searched out by the querying server is the shared information within a predetermined scope centered at this position information.

In addition, after receiving the returned query result, when determining that the shared information in the query result is accurate according to an instruction of the user, the terminal device indicates an information query system that the corresponding shared information is accurate; the processing server marks the corresponding shared information according to the indication; the querying server further returns an identifier corresponding to the shared information in the returned query result.

The present system may further include a concerned relationship management server and a good-friend-chain server, as shown in FIG. 3. The concerned relationship management server stores information about which users are concerned, such as a piece of position information, or a type, or a user, or any combination of these three groups. When a user releases the shared information, the shared information may be matched with contents in the concerned relationship management server and in the good-friend-chain server, if it is matched, then the shared information released currently is pushed to the user for viewing in time.

The technical scheme of the present invention is hereinafter described in detail with reference to accompanying examples.

As shown in FIG. 4, FIG. 4 is a specific flowchart illustrating an example of the present invention.

In step 401, a user releases shared information through a terminal in which the user is located; meanwhile, the terminal obtains position information in which the user released the shared information, and sends the shared information and the corresponding position information to a processing server.

In step 402, the processing server receives and saves the shared information and the corresponding position information sent by the user terminal. For example, for user A, the processing server may save information about places about which the user A are concerned, wherein the latitude/longitude of the places is (L,w), (j,k), (l,m).

When saving data, the processing server may aggregate information according to the type of the shared information, and save the information in sequence according to the corresponding position information. There are various types of the shared information, which may be grouped according to purposes of the shared information in the present example. Here, the shared information may be grouped into four types, which are clothing, food, housing and transportation. Meanwhile, when saving the shared information, the processing server may also record the user corresponding to the shared information for querying use.

When receiving the shared information released by the user, the processing server may display the shared information on the sharing platform for being viewed by other users.

In step 403, when a user requests to query the shared information, the user sends a query request to the querying server.

In step 404, the querying server receives the query request sent by the user, and searches for shared information meeting a query condition among the shared information released by trusted users according to the query condition in the query request.

In step 405, it is judged whether the number of the shared information searched out meeting the query condition is less than a predetermined number, if it is judged that the number of the shared information searched out meeting the query condition is less than the predetermined number, then step 406 is performed, otherwise step 407 is performed.

In step 406, the shared information meeting the query condition is searched for among shared information released by non-trusted users according to the query condition in the query request, and then step 407 is performed.

The query condition in the query request may be a type of the shared information, the position information, and an identifier of a trusted user or any combination of the three parties. Specific query ways may use existing related methods, which do not be repeated here.

Preferably, when the position information is included in the query condition, the shared information meeting the query condition including the position information is the shared information within a predetermined scope centered at this position information, so that more choices are provided for the user. For example, when the predetermined scope is 100 meters, the shared information meeting the query condition including the position information is the shared information within the scope of 100 meters centered at this queried position information.

In step 407, the querying server returns a query result to the user requesting for query.

By now, the flow shown in FIG. 4 is finished.

It can be seen from the above technical scheme that, in the present invention, shared information released by a user is received and saved; when a query request sent by the user is received, trusted users corresponding to this user are searched out firstly; and then the shared information meeting the query condition is searched for among the shared information released by the trusted users according to the query condition in the query request, and a query result is returned to the user requesting for query. A queried object is processed during a querying process in the technical scheme of the present invention, so that a relatively credible query result may be provided to the querying user through this technical scheme.

The above are just preferable examples of the present invention, and are not used for limiting the present invention. Any modifications, equivalents, improvements, etc., made under the spirit and principle of the present invention, are all included in the protection scope of the present invention. 

1. A method for information query, comprising: receiving and saving pieces of shared information released by users; receiving a query request sent by a user, and searching for at least one trusted user corresponding to the user; wherein the user sending the query request is the one having released a piece of shared information or the one having not released any shared information; and searching for at least one piece of shared information meeting a query condition in the query request among at least one piece of shared information released by the at least one trusted user, and returning a first query result comprising the at least one piece of shared information searched out to the user sending the query request.
 2. The method according to claim 1, wherein the step of returning the first query result to the user sending the query request comprises: judging whether the number of the at least one piece of shared information searched out is less than a predetermined number; if it is judged that the number of the at least one piece of shared information searched out is not less than the predetermined number, returning the first query result to the user sending the query request; and otherwise, if it is judged that the number of the at least one piece of shared information searched out is less than the predetermined number, searching for at least one piece of shared information among shared information released by at least one non-trusted user according to the query condition in the query request, and returning a second query result together with the first query result to the user sending the query request.
 3. The method according to claim 1, wherein the step of saving pieces of shared information released by users further comprises: when saving a piece of shared information released by a user, saving position information corresponding to the piece of shared information; the first query result further carries the position information corresponding to the at least one piece of shared information searched out; and the query condition comprises at least one of a type of the shared information, the position information and an identifier of the trusted user.
 4. The method according to claim 3, further comprising: after receiving the first query result returned to the user, a terminal device in which the user is located calling a map in the terminal device, and displaying the at least one piece of shared information on the map according to the position information corresponding to the at least one piece of shared information in the first query result.
 5. The method according to claim 4, further comprising: when the user selects a piece of shared information, obtaining position information indicating where the user is located presently, and providing a route on the map along which the user is to reach the position corresponding to the selected piece of shared information according to the position information corresponding to the selected piece of shared information.
 6. The method according to claim 3, wherein, when the query condition comprises the position information, the shared information meeting the query condition comprising the position information comprises the shared information within a predetermined scope centered at the position information.
 7. The method according to claim 1, further comprising: after the user receives the returned first query result and when it is determined that the shared information in the first query result is accurate, indicating an information query system that the corresponding shared information is accurate; and when returning the first query result to the user sending the query request, further marking the accurate shared information in the first query result.
 8. The method according to claim 2, wherein the step of saving pieces of shared information released by users further comprises: when saving a piece of shared information released by a user, saving position information corresponding to the piece of shared information; the second query result further carries the position information corresponding to the at least one piece of shared information searched out. after receiving the second query result returned to the user, a terminal device in which the user is located calling a map in the terminal device, and displaying the at least one piece of shared information on the map according to the position information corresponding to the at least one piece of shared information in the second query result.
 9. The method according to claim 8, further comprising: when the user selects a piece of shared information, obtaining position information indicating where the user is located presently, and providing a route on the map along which the user is to reach the position corresponding to the selected piece of shared information according to the position information corresponding to the selected piece of shared information.
 10. The method according to claim 8, wherein, the query condition comprises at least one of a type of the shared information, the position information and an identifier of the trusted user. when the query condition comprises the position information, the shared information meeting the query condition comprising the position information comprises the shared information within a predetermined scope centered at the position information.
 11. The method according to claim 2, further comprising: after the user receives the returned second query result and when it is determined that the shared information in the second query result is accurate, indicating an information query system that the corresponding shared information is accurate; and when returning the second query result to the user sending the query request, further marking the accurate shared information in the second query result.
 12. A system for information query, comprising: a processing server and a querying server; wherein the processing server, to receive and save pieces of shared information released by users; the querying server, to receive a query request sent by a user, and search for at least one trusted user corresponding to the user, wherein the user sending the query request is the one having released a piece of shared information or the one having not released any shared information; search for at least one piece of shared information meeting a query condition in the query request among at least one piece of shared information released by the at least one trusted user according to the query condition in the query request as well as the pieces of shared information saved by the processing server, and return a first query result comprising the at least one piece of shared information searched out to the user sending the query request.
 13. The system according to claim 12, wherein, the querying server is to judge whether the number of the at least one piece of shared information searched out is less than a predetermined number; if it is judged that the number of the at least one piece of shared information searched out is not less than the predetermined number, the querying server is to return the first query result to the user sending the query request; if it is judged that the number of the at least one piece of shared information searched out is less than the predetermined number, the querying server is to search for at least one piece of shared information among shared information released by at least one non-trusted user according to the query condition in the query request, and return a second query result together with the first query result to the user sending the query request.
 14. The system according to claim 12, wherein, the processing server, further to save position information corresponding to a piece of shared information when saving the piece of shared information released by a user; the querying server, further to carry the position information corresponding to the at least one piece of shared information searched out in the first query result; a terminal device in which the user is located, after receiving the first query result returned to the user, to call a map in the terminal device, and display the at least one piece of shared information on the map according to the position information corresponding to the at least one piece of shared information in the first query result; the query condition which is used by the querying server for searching for the shared information comprises at least one of a type of the shared information, the position information and an identifier of the trusted user.
 15. The system according to claim 14, wherein, the terminal device, when the user selects a piece of shared information, to obtain position information indicating where the user is located presently, and provide a route on the map along which the user is to reach the position corresponding to the selected piece of shared information according to the position information corresponding to the selected piece of shared information.
 16. The system according to claim 14, wherein, when the query condition comprises the position information, the shared information meeting the query condition comprising the position information searched out by the querying server comprises the shared information within a predetermined scope centered at the position information.
 17. The system according to claim 12, wherein, the terminal device, after the user receives the returned first query result and when it is determined that the shared information in the first query result is accurate, to indicate an information query system that the corresponding shared information is accurate; the processing server, to mark the corresponding shared information according to the indication; the querying server, further to return an identifier of the corresponding shared information in the first query result.
 18. The system according to claim 13, wherein, the processing server, further to save position information corresponding to a piece of shared information when saving the piece of shared information released by a user; the querying server, further to carry the position information corresponding to the at least one piece of shared information searched out in the second query result. a terminal device in which the user is located, after receiving the second query result returned to the user, to call a map in the terminal device, and display the at least one piece of shared information on the map according to the position information corresponding to the at least one piece of shared information in the second query result. the query condition which is used by the querying server for searching for the shared information comprises at least one of a type of the shared information, the position information and an identifier of the trusted user.
 19. The system according to claim 18, wherein, the terminal device, when the user selects a piece of shared information, to obtain position information indicating where the user is located presently, and provide a route on the map along which the user is to reach the position corresponding to the selected piece of shared information according to the position information corresponding to the selected piece of shared information. when the query condition comprises the position information, the shared information meeting the query condition comprising the position information searched out by the querying server comprises the shared information within a predetermined scope centered at the position information.
 20. The system according to claim 13, wherein, the terminal device, after the user receives the returned second query result and when it is determined that the shared information in the second query result is accurate, to indicate an information query system that the corresponding shared information is accurate; the processing server, to mark the corresponding shared information according to the indication; the querying server, further to return an identifier of the corresponding shared information in the second query result. 